package kafeisc.domain;

import java.util.Date;

/**
 * @Classname User : 用来封装数据的
 * @Description TODO
 * @Date 2020/5/1 13:56
 * @Created 
 */
   public class User   {
      private int id;
      private String username;
      private String password;
      private String gender;
      private String email;
      private String telephone;
      private String introduce;
      private String activeCode; // 用来注册成功后激活用的
      private int state = 0; // 用户状态是否激活，0未激活，1激活
      private String role;
      private Date registTime;

   public int getId() {
      return id;
   }

   public void setId(int id) {
      this.id = id;
   }

   public String getPassword() {
      return password;
   }

   public void setPassword(String password) {
      this.password = password;
   }

   public Date getRegistTime() {
      return registTime;
   }

   public String getActiveCode() {
      return activeCode;
   }

   public void setActiveCode(String activeCode) {
      this.activeCode = activeCode;
   }

   public int getState() {
      return state;
   }

   public void setEmail(String email) {
      this.email = email;
   }

   public void setGender(String gender) {
      this.gender = gender;
   }

   public String getEmail() {
      return email;
   }

   public void setIntroduce(String introduce) {
      this.introduce = introduce;
   }

   public String getGender() {
      return gender;
   }

   public void setRegistTime(Date registTime) {
      this.registTime = registTime;
   }

   public String getIntroduce() {
      return introduce;
   }

   public void setRole(String role) {
      this.role = role;
   }

   public String getRole() {
      return role;
   }

   public void setState(int state) {
      this.state = state;
   }

   public String getTelephone() {
      return telephone;
   }

   public void setTelephone(String telephone) {
      this.telephone = telephone;
   }

   public String getUsername() {
      return username;
   }

   public void setUsername(String username) {
      this.username = username;
   }
}
